﻿<Window x:Class="BTM_Client_Application.LoadingWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        Title="LoadingWindow" Background="Transparent" Height="150" Width="150" WindowStartupLocation="CenterScreen" 
        WindowStyle="None" Topmost="True" ResizeMode="NoResize" AllowsTransparency="True" BorderThickness="0,0,0,0" Focusable="False">

    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
                <ResourceDictionary Source="pack://application:,,,/Styles/MyBrushes.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Border BorderThickness="2,2,2,2" BorderBrush="Black" CornerRadius="5" Background="{StaticResource LoadBackgroundBrush}">
        <Grid>
            <controls:ProgressRing VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsActive="True" Margin="5,5,5,5"/>
        </Grid>
    </Border>
</Window>
